package com.example.dao;

import com.example.entity.Table;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface TableDao extends Mapper<Table> {

    Table queryById(Integer id);

    List<Table> queryFreeAll();

    int updateByPrimaryKeySelective(Table table);
}
